package com.kgc.scd.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.models.auth.In;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created On : 2022/11/15.
 * <p>
 * Author : Administrator
 * <p>
 * Description: ShopUserBush
 */

@Data
@TableName(value = "shop_user_bush")
public class ShopUserBush {

    /**
     * 编号
     */
    private String id;

    /**
     * 用户编号
     */
    private  String userId;

    /**
     * 商品id
     */
    private  String pid;

    /**
     * 抢购开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date startTime;
}
